package com.dadie.dorm.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private String age;
    private String gender;
    private String major;
    private String banji;
    private String dormroom;
    private String dormbuildId;

    public Student(String name, String age, String gender, String major, String banji, String dormroom, String dormbuildId) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.major = major;
        this.banji = banji;
        this.dormroom = dormroom;
        this.dormbuildId = dormbuildId;
    }
}
